package com.rcdz.mykotlindemo.view.fragment

import android.view.View
import android.widget.Button
import com.rcdz.mykotlindemo.R
import com.rcdz.mykotlindemo.view.customview.ohter.TestView
import com.wjt.mylibrary.base.BaseFragment

class interpolator : BaseFragment(){
    lateinit var testView: TestView
    override fun lazyInit() {
    }

    override fun setNowActivityName(): String {
       return "插值器快慢演示"
    }

    override fun setLayout(): Int {
       return R.layout.interpolaor
    }

    override fun initView() {
        testView = getRootView().findViewById(R.id.interpoter)
        testView.setOnClickListener(this)
    }

    override fun initData() {
    }

    override fun onClick(v: View?) {
        when(v?.id){
            R.id.interpoter ->{
                testView.start()
            }
        }
    }
}